package com.whc.gulimall.product.dao;

import com.whc.gulimall.product.entity.BrandEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 品牌
 *
 * @author wanghaochen
 * @email angaoen@outlook.com
 * @date 2022-03-05 00:18:53
 */
@Mapper
public interface BrandDao extends BaseMapper<BrandEntity> {

    /**
     * 更新品牌状态
     *
     * @param brandId    品牌id
     * @param showStatus 状态
     */
    void updateStatus(@Param("brandId") Long brandId, @Param("showStatus") Integer showStatus);
}
